package com.supercwn.player.app.manager.bean;

import android.graphics.drawable.Drawable;

public class CacheListItem {

    private long mCacheSize;
    private String mPackageName, mApplicationName;
    private Drawable mIcon;

    public CacheListItem(String packageName, String applicationName, Drawable icon, long cacheSize) {
        mCacheSize = cacheSize;
        mPackageName = packageName;
        mApplicationName = applicationName;
        mIcon = icon;
    }

    public Drawable getApplicationIcon() {
        return mIcon;
    }

    public String getApplicationName() {
        return mApplicationName;
    }

    public long getCacheSize() {
        return mCacheSize;
    }

    public String getPackageName() {
        return mPackageName;
    }

    @Override
    public String toString() {
        return "CacheListItem{" +
                "mCacheSize=" + mCacheSize +
                ", mPackageName='" + mPackageName + '\'' +
                ", mApplicationName='" + mApplicationName + '\'' +
                ", mIcon=" + mIcon +
                '}';
    }
}
